package com.le.tester.webpage.masterCode.collection;

import com.google.common.collect.ImmutableList;
import org.springframework.util.CollectionUtils;

import java.util.Collections;
import java.util.List;

/**
 * 描述：集合
 */
public class CollectionsDemo {
}

class sortDto {
    public String sortTarget;

    public sortDto(String sortTarget) {
        this.sortTarget = sortTarget;
    }

    public void testMax() {
        List<sortDto> sorts = ImmutableList.of(
                new sortDto("300"),
                new sortDto("50"),
                new sortDto("200"),
                new sortDto("220"));
        //Collections.max(sorts);
    }
}
